import instance from '@/utils/request';

export function getJobPostingList(data) {
  return instance.request({
    url: "api/ParkManage/GetJobPosting",
    method: "post",
    data
  })
}

export function addRoleManage(data) {
  return instance.request({
    url: "api/ParkManage/PostJobPosting",
    method: "post",
    data
  })
}

export function updateState(data) {
  return instance.request({
    url: "api/ParkManage/PutJobPosting",
    method: "put",
    data
  })
}

export function deleteRoleManage(data) {
  return instance.request({
    url: "api/ParkManage/DeleteJobPosting",
    method: "delete",
    data
  })
}

export function updatefabu(data) {
  return instance.request({
    url: "api/ParkManage/PutJobPosting1",
    method: "put",
    data
  })
}

export function updatechexiao(data) {
    return instance.request({
      url: "api/ParkManage/PutJobPosting2",
      method: "put",
      data
    })
  }